﻿using Fur.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;

namespace FurTemplate.EntityFramework.Core
{
#if (MsSql)
    [AppDbContext("SqlServerConnectionString")]
#elif (MySql)
    [AppDbContext("MySqlConnectionString")]
#elif (Oracle)
    [AppDbContext("OracleConnectionString")]
#elif (PgSql)
    [AppDbContext("NpgsqlConnectionString")]
#elif (SQLite)
    [AppDbContext("Sqlite3ConnectionString")]
#elif (Cosmos)
    [AppDbContext("CosmosConnectionString")]
#elif (Firebird)
    [AppDbContext("FirebirdConnectionString")]
#elif (Dm)
    [AppDbContext("DmConnectionString")]
#elif (InMemory)
#else
    [AppDbContext("Sqlite3ConnectionString")]
#endif
    public class FurTemplateDbContext : AppDbContext<FurTemplateDbContext>
    {
        public FurTemplateDbContext(DbContextOptions<FurTemplateDbContext> options) : base(options)
        {
        }
    }
}